package com.ztgf.order.models.dto.purchase;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 采购信息表DTO
 *
 * @author mxli
 * @Date 2021-05-17 10:15:52
 */
@Data
@TableName("purchase_info")
@ApiModel(value="采购信息表对象", description="采购信息表对象")
public class PurchaseInfoDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "创建名字")
    private String createUserName;
    @ApiModelProperty(value = "更新人名字")
    private String updateUserName;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "发布类型 0买家发布、1admin发布，2admin代客发布")
    private Integer publishType;
    @ApiModelProperty(value = "过期时间")
    private Date expiredTime;
    @ApiModelProperty(value = "是否删除 0未删除、1删除")
    private Integer delFlag;
    @ApiModelProperty(value = "是否同意平台修改 0不同意、1同意")
    private Integer acceptEditStatus;
    @ApiModelProperty(value = "报价状态：0报价中、1报价结束、2取消报价、3流标")
    private Integer bargainStatus;
    @ApiModelProperty(value = "查看时间")
    private Date lookTime;
    @ApiModelProperty(value = "取消类型、参考数据字典")
    private Integer cancelType;
    @ApiModelProperty(value = "取消说明")
    private String cancelDescription;
    @ApiModelProperty(value = "主办人id")
    private Long organiserUserId;
    @ApiModelProperty(value = "主办人名称")
    private String organiserUserName;
    @ApiModelProperty(value = "主办人修改状态：0未修改、1已修改")
    private Integer organiserUpdateStatus;
    @ApiModelProperty(value = "取消按钮显示状态：0取消、1结束")
    private Integer cancelButtonStatus;
    @ApiModelProperty(value = "pdf路径")
    private String pdfUrl;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "申请平台砍价服务费金额")
    private BigDecimal purchaseFeeMoney;
    @ApiModelProperty(value = "平台砍价支付状态：0未支付，1支付中、2支付成功、3支付失败")
    private Integer purchaseFeeMoneyStatus;
    @ApiModelProperty(value = "同步平台砍价技术服务费状态：0未同步，1已同步")
    private Integer synchronizationShopSysInvoiceType;

}